package cn.e2win.biz.sys;

import java.sql.SQLException;

import org.springframework.stereotype.Repository;

import cn.e2win.base.json.vo.Pager;
import cn.e2win.biz.base.BaseDAOHibernateImpl;


@Repository
public class LogsDaoImpl extends BaseDAOHibernateImpl implements LogsDao {
	

	@Override
	public void pagerLogs(Pager pager) {
		String sql = "SELECT * FROM sys_logs WHERE 1=1 "+
		"ORDER BY 1 DESC";
		
		try {
			pager.processSql(sql);
			processPager(pager);
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}


	 
}
